# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=libgusb
pkgver=0.3.0
pkgrel=1
pkgdesc='GObject wrapper for libusb1'
url='https://github.com/hughsie/libgusb'
arch=('x86_64')
license=('LGPL2.1')
depends=('glib2' 'libusb')
makedepends=('git' 'gobject-introspection' 'gtk-doc' 'meson' 'python2' 'vala')
_commit='732b49b528cc69bf4c8999e088835ecab9d5c05c'
source=("git+https://github.com/hughsie/libgusb#tag=${pkgver}")
sha256sums=('SKIP')

build() {
  arch-meson libgusb build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et:
